<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<title>注册</title>

<!-- Bootstrap -->
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script>
function submitForm(){
	$("#registForm").submit();
}
</script>
</head>
<body>
	<div id="nav">
		<nav class="navbar navbar-default">
			<div class="container-fluid">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed"
						data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
						aria-expanded="false">
						<span class="sr-only">Toggle navigation</span> <span
							class="icon-bar"></span> <span class="icon-bar"></span> <span
							class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#">江莱农场</a>
					<button type="button" class="btn btn-default navbar-btn">登录</button>
				</div>
			</div>
			<!-- /.container-fluid -->
		</nav>
	</div>
	<div id="content">
		<div class="jumbotron">
		  <div class="container">
			 <div class="panel panel-default">
			   <div class="panel-heading">
			      <h3 class="panel-title">
			         	注册
			      </h3>
			   </div>
			   <div class="panel-body">
					<form method="post" action="/login/regist.do" id="registForm">
						<table>
							<tr>
								<td>
									<div class="input-group input-group-lg" style="padding:1em">
											<span class="input-group-addon" id="sizing-addon1">用户名</span>
											<input type="text" class="form-control" placeholder="用户名" aria-describedby="sizing-addon1" name="userName">
									</div>
								</td>
							</tr>
							<tr>
								<td><div class="input-group input-group-lg" style="padding:1em">
										<span class="input-group-addon" id="sizing-addon2">密码</span>
										<input type="password" class="form-control" placeholder="密码" aria-describedby="sizing-addon1" name="password">
									</div>
									</td>
							</tr>
							<tr>
								<td>
									<div class="input-group input-group-lg" style="padding:1em">
										<span class="input-group-addon" id="sizing-addon3">确认密码</span>
										<input type="password" class="form-control" placeholder="确认密码" aria-describedby="sizing-addon1" name="password2">
									</div>
								</td>
							</tr>
							<tr>
								<td>
									<div class="input-group input-group-lg" style="padding:1em">
										<span class="input-group-addon" id="sizing-addon4">昵称</span>
										<input type="text" class="form-control" placeholder="昵称" aria-describedby="sizing-addon1" name="name">
									</div>
								</td>
							</tr>
							<tr>
								<td>
									<div class="input-group input-group-lg" style="padding:1em">
										<span class="input-group-addon" id="sizing-addon5">手机</span>
										<input type="text" class="form-control" placeholder="手机" aria-describedby="sizing-addon1" name="phone">
									</div>
								</td>
							</tr>
							<tr>
								<td>
									<div class="input-group input-group-lg" style="padding:1em">
										<span class="input-group-addon" id="sizing-addon6">邮箱</span>
										<input type="text" class="form-control" placeholder="邮箱" aria-describedby="sizing-addon1" name="email">
									</div>
								</td>
							</tr>
							<tr>
								<td style="padding-left:1em">
									<a href="#" class="btn btn-primary" role="button" onclick="submitForm()">提交</a>
								</td>
							</tr>
						</table>
					</form>
			   </div>
			 </div>
		  </div>
		</div>
	</div>
	<div id="foot"></div>
</body>
</html>
